package com.upload.bean.yCoin;

import com.upload.util.JSONUtil;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by STARF on 2017/3/29.
 */
public class YcoinResponseBean {

    private String unionid;

    boolean success;

    public YcoinResponseBean() {
    }

    public YcoinResponseBean(String unionid) {
        this.unionid = unionid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public YcoinResponseBean(boolean success) {
        this.success = success;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    @Override
    public String toString(){
        return JSONUtil.toJsonStr(this);
    }
}
